<h1 class="user-title">{{title}}</h1>
<form class="searchForm form-inline">
    <div class="form-group">
        <input type="text" id="search" class="form-control" ng-model="content" placeholder="商户号/内容/手机号">
        <button type="submit" class="btn btn-primary" ng-click="search()"><i class="glyphicon glyphicon-search"></i></button>
    </div>
</form>
<table class="table table-bordered table-hover">
    <thead>
    <tr>
        <th >序号</th>
        <th >商户号</th>
        <th >内容</th>
        <th>手机号</th>
        <th >状态</th>
        <th>发送时间</th>
        <th>接口状态</th>
        <th>回调码</th>
        <th>通道</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="message in items">
        <th>{{$index+1+(p_current-1)*15}}</th>
        <td>{{message.appId}}</td>
        <td>{{message.content}}</td>
        <td>{{message.mobile}}</td>
        <td>{{message.status}}</td>
        <td>{{message.sendTime}}</td>
        <td>{{message.msg}}</td>
        <td>{{message.returnC}}</td>
        <td>{{message.remark}}</td>
    </tr>
    </tbody>
</table>
<nav>
    <ul class="pagination">
        <li>
            <a ng-click="First()">
                <span>首页</span>
            </a>
        </li>
        <li>
            <a ng-click="Previous()">
                <span>上一页</span>
            </a>
        </li>
        <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
            <a ng-click="selectPage(page)" >{{ page }}</a>
        </li>
        <li>
            <a ng-click="Next()">
                <span>下一页</span>
            </a>
        </li><li>
        <a ng-click="Last()">
            <span>尾页</span>
        </a>
        <a href="javascript:0">
            <span>共{{pages}}页</span>
        </a>
    </li>
    </ul>
</nav>
